<html>
<head></head>
<body>

<?
include("User.class.php");
include("Product.class.php");

if (isset($_REQUEST['username']) && isset($_REQUEST['enabled']) )
  {
    print "got user username: ".$_REQUEST['username']." / enabled: ".$_REQUEST['enabled']." ";
    $user = new User($_REQUEST['username']);
    $user->set_from_web_post($_REQUEST);
    $user->save();
  }
else
  {
    print "no or not enough params given";
  }

?>

</body>
</html>